]> dgit.raspbian.org Git - gnome-shell.git/log
gnome-shell.git
14 years agotelepathyClient: don't add log messages on presence changes
Ana Risteska [Thu, 5 Jul 2012 17:47:13 +0000 (19:47 +0200)]
telepathyClient: don't add log messages on presence changes

The log messages about presence changes unnecessarily cluttered the
notification.
Instead, we now present the presence states (online, offline, away, busy)
with an icon placed right next to the avatar. We also no longer show
notifications on presence changes.

https://bugzilla.gnome.org/show_bug.cgi?id=669508

14 years agoUpdated Arabic translation
Khaled Hosny [Thu, 5 Jul 2012 14:58:17 +0000 (16:58 +0200)]
Updated Arabic translation

14 years agorecorder: Don't crash on pipeline errors
Florian Müllner [Wed, 4 Jul 2012 22:08:28 +0000 (00:08 +0200)]
recorder: Don't crash on pipeline errors

In case of error, the recorder pipeline is reset to NULL, so don't
access current_pipeline->src in that case.

https://bugzilla.gnome.org/show_bug.cgi?id=679445

14 years agorecorder-src: Use normal GObject boilerplate
Florian Müllner [Wed, 4 Jul 2012 15:46:39 +0000 (17:46 +0200)]
recorder-src: Use normal GObject boilerplate

Gst will drop its own boilerplate in 1.0, so just use G_DEFINE_TYPE.

https://bugzilla.gnome.org/show_bug.cgi?id=679445

14 years agonetworkAgent: use absolute path if configured
Clemens Buchacher [Sun, 1 Jul 2012 16:48:48 +0000 (18:48 +0200)]
networkAgent: use absolute path if configured

Signed-off-by: Clemens Buchacher <drizzd@aon.at>
https://bugzilla.gnome.org/show_bug.cgi?id=679212

14 years agoAssamese translation reviewed
Nilamdyuti Goswami [Wed, 4 Jul 2012 16:37:11 +0000 (22:07 +0530)]
Assamese translation reviewed

14 years agodateMenu: Use .desktop file to launch calendar
Florian Müllner [Tue, 19 Jun 2012 15:56:01 +0000 (17:56 +0200)]
dateMenu: Use .desktop file to launch calendar

When selecting "Open Calendar" in the date menu, the configured
application is launched via command line, so we don't get any
startup notification. If Evolution is used as calendar application,
launch it via the .desktop file added by the last commit instead in
order to fix the issue.

https://bugzilla.gnome.org/show_bug.cgi?id=677907

14 years agocalendar-server: Add .desktop file for evolution calendar
Florian Müllner [Tue, 3 Jul 2012 21:48:57 +0000 (23:48 +0200)]
calendar-server: Add .desktop file for evolution calendar

When selecting "Open Calendar" in the date menu, the configured
application is launched via command line, so we don't get any
startup notification. In order to fix the issue at least for our
default calendar, add a hidden .desktop file for evolution's
calendar component.

https://bugzilla.gnome.org/show_bug.cgi?id=677907

14 years agouserMenu: Don't disconnect account signals when disabled
Guillaume Desmottes [Tue, 3 Jul 2012 08:34:34 +0000 (10:34 +0200)]
userMenu: Don't disconnect account signals when disabled

By disconnecting the 'notify::connection-status' signal as soon as the account
is disabled, we were missing the signal telling us when the status was moving
from CONNECTING/CONNECTED to DISCONNECTED and so the status icon was never
updated.

What we really want is to disconnect the signal when the account is removed
from the account manager as we don't care about it any more.

https://bugzilla.gnome.org/show_bug.cgi?id=669112

14 years agosearch: Remove createResultContainer() hook
Florian Müllner [Mon, 11 Jun 2012 13:19:56 +0000 (15:19 +0200)]
search: Remove createResultContainer() hook

It is now unused since the contacts search provider was the only
consumer, so remove it.

https://bugzilla.gnome.org/show_bug.cgi?id=677442

14 years agoextensionDownloader: Clean up names of methods
Jasper St. Pierre [Wed, 27 Jun 2012 00:46:37 +0000 (20:46 -0400)]
extensionDownloader: Clean up names of methods

FromUUID is redundant.

https://bugzilla.gnome.org/show_bug.cgi?id=679099

14 years agoextensionSystem: Be saner at error handling
Jasper St. Pierre [Fri, 29 Jun 2012 02:00:45 +0000 (22:00 -0400)]
extensionSystem: Be saner at error handling

Use our native JS error system in the "extension system" API, only
using the signal/log-based error reporting at the last mile. Additionally,
delete the directory if loading the extension failed, and report the error
back over DBus.

https://bugzilla.gnome.org/show_bug.cgi?id=679099

14 years agoshellDBus: Add a real error reporting system to InstallExtensionRemote
Jasper St. Pierre [Sat, 16 Jun 2012 03:20:36 +0000 (23:20 -0400)]
shellDBus: Add a real error reporting system to InstallExtensionRemote

Instead of using the 'extension-state-changed' signal to relay errors,
use DBus's native error mechanism to inform the method caller that the
call has failed. This requires making the method actually asynchronous
so that we don't block the browser, which is stuck waiting for a reply
from the browser plugin. To ensure this, we need to modify the browser
plugin API to ensure its extesion installation method is asynchronous.

Additionally, this lets us remove the awful, broken hacks that we used
when a user clicked the "Cancel" button, replacing it by a DBus return
value.

https://bugzilla.gnome.org/show_bug.cgi?id=679099

14 years agoextensionDownloader: Properly error out when downloading/parsing infos
Jasper St. Pierre [Sat, 16 Jun 2012 02:38:55 +0000 (22:38 -0400)]
extensionDownloader: Properly error out when downloading/parsing infos

When the extension downloader was originally designed, the information
downloading part was inserted at the last minute, along with the modal
dialog as a security feature to make sure an extension didn't silently
get installed on the user's machines either due to a security issue in
the browser-plugin, or an XSS issue on the extensions website. Correct
the mistake I made when writing the code; instead of dropping an error
on the floor, log it correctly. This "bug" has already bitten a number
of users who forgot to configure proxy settings in the control center.

https://bugzilla.gnome.org/show_bug.cgi?id=679099

14 years agoextensionDownloader: Fix errors during error paths during installation
Jasper St. Pierre [Sat, 16 Jun 2012 02:35:26 +0000 (22:35 -0400)]
extensionDownloader: Fix errors during error paths during installation

https://bugzilla.gnome.org/show_bug.cgi?id=679099

14 years agobrowser-plugin: Rework scriptable method argument parsing and dispatch
Jasper St. Pierre [Fri, 15 Jun 2012 22:20:38 +0000 (18:20 -0400)]
browser-plugin: Rework scriptable method argument parsing and dispatch

Since we're going to move to a much more complicated (async!) solution
in a little bit, we're going to require a lot more machinery to handle
that. To help with that, let's rework invocation dispatch so that it's
more generic. Introduce a parse_args system similar to gjs_parse_args,
use X Macros to help with the repetitive parts of the method dispatch.
This shouldn't cause any API breaks, so API_VERSION should still be 4.

https://bugzilla.gnome.org/show_bug.cgi?id=679099

14 years agobrowser-plugin: Prevent a copy when checking for valid extension UUIDs
Jasper St. Pierre [Fri, 15 Jun 2012 21:46:33 +0000 (17:46 -0400)]
browser-plugin: Prevent a copy when checking for valid extension UUIDs

Instead of using g_strndup to copy the NPString that gets passed to us
by the plugin host, just use the equally-as-good NPString directly. We
still need to copy the string when passing it over DBus, as there's no
easy way to construct a string GVariant from a length-prefixed string.

https://bugzilla.gnome.org/show_bug.cgi?id=679099

14 years agoextensionDownloader: Fix loading of downloaded extensions
Jasper St. Pierre [Mon, 25 Jun 2012 21:57:39 +0000 (17:57 -0400)]
extensionDownloader: Fix loading of downloaded extensions

We refactored the ExtensionSystem API to take an extension object,
but forgot to update the downloader.

https://bugzilla.gnome.org/show_bug.cgi?id=679099

14 years agoshellDBus: Split extensions API out into a separate DBus interface
Jasper St. Pierre [Wed, 27 Jun 2012 15:47:51 +0000 (11:47 -0400)]
shellDBus: Split extensions API out into a separate DBus interface

The generic "Shell" interface was getting a bit too crowded.

https://bugzilla.gnome.org/show_bug.cgi?id=679099

14 years agoshellDBus: Clean up
Jasper St. Pierre [Mon, 25 Jun 2012 19:51:32 +0000 (15:51 -0400)]
shellDBus: Clean up

14 years agoUpdated Vietnamese translation
Nguyễn Thái Ngọc Duy [Sun, 1 Jul 2012 04:05:01 +0000 (11:05 +0700)]
Updated Vietnamese translation

14 years agopo/vi: import from Damned Lies
Nguyễn Thái Ngọc Duy [Sun, 1 Jul 2012 04:02:53 +0000 (11:02 +0700)]
po/vi: import from Damned Lies

14 years agoPolkitAgent: Look for the right password prompt
Matthias Clasen [Wed, 27 Jun 2012 23:22:46 +0000 (19:22 -0400)]
PolkitAgent: Look for the right password prompt

Pam seems to give us different strings, sometimes 'Password:',
sometimes 'Password: '. Look for both of these when replacing
them with a translated prompt.

https://bugzilla.gnome.org/show_bug.cgi?id=675300

14 years agoUpdated POTFILES.in
Piotr Drąg [Fri, 29 Jun 2012 17:44:23 +0000 (19:44 +0200)]
Updated POTFILES.in

14 years agonetwork: don't ask for always-ask secrets when interaction isn't allowed
Dan Williams [Thu, 28 Jun 2012 22:07:42 +0000 (17:07 -0500)]
network: don't ask for always-ask secrets when interaction isn't allowed

Clearly a typo...

https://bugzilla.gnome.org/show_bug.cgi?id=679091

14 years agoshell: Remove ContactSystem
Florian Müllner [Mon, 11 Jun 2012 13:18:17 +0000 (15:18 +0200)]
shell: Remove ContactSystem

Remove the now unused ShellContactSystem. As a side effect, we no
longer depend on folks now.

https://bugzilla.gnome.org/show_bug.cgi?id=677442

14 years agooverview: Remove contacts search provider
Florian Müllner [Mon, 11 Jun 2012 13:16:33 +0000 (15:16 +0200)]
overview: Remove contacts search provider

With gnome-contacts implementing a remote search provider, the
built-in contacts search is now unnecessary duplication; remote it.

https://bugzilla.gnome.org/show_bug.cgi?id=677442

14 years agouserMenu: Move "Power off" item to the bottom
Florian Müllner [Thu, 28 Jun 2012 10:22:17 +0000 (12:22 +0200)]
userMenu: Move "Power off" item to the bottom

The current position below "System Settings" is problematic - the
items are unrelated, and misclicks will result in a scary system
modal dialog that has to be cancelled.
Move items around a bit to avoid this problem.

https://bugzilla.gnome.org/show_bug.cgi?id=678887

14 years agoMain: fix ctrl-alt-arrow in the overview
Giovanni Campagna [Wed, 27 Jun 2012 20:12:40 +0000 (22:12 +0200)]
Main: fix ctrl-alt-arrow in the overview

Fixes a regression introduced in de72065, which changed the method names
but forgot to update this code path.

https://bugzilla.gnome.org/show_bug.cgi?id=679005

14 years agoWindowManager: ignore ctrl-alt-left/right
Giovanni Campagna [Wed, 27 Jun 2012 20:07:32 +0000 (22:07 +0200)]
WindowManager: ignore ctrl-alt-left/right

Fixes a regression introduced in de72065a

https://bugzilla.gnome.org/show_bug.cgi?id=679005

14 years agowindowManager: Hold the window on the stage while going between workspaces
Jasper St. Pierre [Tue, 26 Jun 2012 18:11:44 +0000 (20:11 +0200)]
windowManager: Hold the window on the stage while going between workspaces

Right now the "move to workspace" keyboard shortcut transition isn't smooth. It
shows the window disappearing, hopping to the next workspace, and then sliding
into view. "Pin" the window to the stage while the animation is in progress,
then release it afterwards.

https://bugzilla.gnome.org/show_bug.cgi?id=660839

14 years agoWindowManager: handle move-to-workspace keybindings
Giovanni Campagna [Sat, 14 Apr 2012 13:29:54 +0000 (15:29 +0200)]
WindowManager: handle move-to-workspace keybindings

Install a custom handler for move-to-workspace-* keybindings that
shows the workspace switcher, which gives the user a sense of
direction when navigating with the keyboard.

https://bugzilla.gnome.org/show_bug.cgi?id=674104

14 years agoWorkspaceSwitcher: simplify code for handling keybindings
Giovanni Campagna [Sat, 14 Apr 2012 12:40:30 +0000 (14:40 +0200)]
WorkspaceSwitcher: simplify code for handling keybindings

Most of code implementing workspace switches was repeated with
minor differences on each direction. Instead, consolidate it
and use the new meta_workspace_get_neighbor.

https://bugzilla.gnome.org/show_bug.cgi?id=674104

14 years agoWindowTracker: fix ref counting bug in get_app_for_window()
Giovanni Campagna [Wed, 27 Jun 2012 17:14:27 +0000 (19:14 +0200)]
WindowTracker: fix ref counting bug in get_app_for_window()

get_app_for_window() is (transfer full), but shell_app_system_lookup_wmclass()
is (transfer none), so we must reference the result, or crash
occur.

https://bugzilla.gnome.org/show_bug.cgi?id=678992

14 years agoUpdated Arabic translation
Khaled Hosny [Wed, 27 Jun 2012 10:49:54 +0000 (12:49 +0200)]
Updated Arabic translation

14 years agotheme: Center date label in calendar
Florian Müllner [Tue, 26 Jun 2012 18:17:11 +0000 (20:17 +0200)]
theme: Center date label in calendar

14 years agodateMenu: Fix regression that caused no date to be displayed
Colin Walters [Tue, 26 Jun 2012 18:00:35 +0000 (14:00 -0400)]
dateMenu: Fix regression that caused no date to be displayed

Commit ef0aa65774af02ef86d6b131b336c3914c6daf97 broke the date
display; bring it back.

14 years agoFix wrong result handling of remote calls
Florian Müllner [Tue, 26 Jun 2012 15:44:24 +0000 (17:44 +0200)]
Fix wrong result handling of remote calls

When using dbus-glib, single return values were special-cased to
be returned verbatim rather than as array with a single element.
This is no longer true since switching to GDBus, so fix the places
where the change was overlooked.

https://bugzilla.gnome.org/show_bug.cgi?id=678852

14 years agoUpdated Slovenian translation
Matej Urbančič [Tue, 26 Jun 2012 07:20:47 +0000 (09:20 +0200)]
Updated Slovenian translation

14 years agoBump version to 3.5.3
Florian Müllner [Mon, 25 Jun 2012 22:03:48 +0000 (00:03 +0200)]
Bump version to 3.5.3

Update NEWS
Require Mutter 3.5.3

14 years agoremoteSearch: Parse 'DesktopId' field in key file
Florian Müllner [Fri, 22 Jun 2012 15:44:15 +0000 (17:44 +0200)]
remoteSearch: Parse 'DesktopId' field in key file

We strongly expect applications to use the same values for the
'Title'/'Icon' fields in their search provider .ini file as the
'Name'/'Icon' fields in their .desktop file. Rather than requiring
applications to duplicate those fields, allow them to specify a
'DesktopId' field instead to point to the corresponding .desktop
file, which makes it possible to ship search provider files without
translatable strings (which is nice given that merging translations
into search provider files lacks a standard rule).

https://bugzilla.gnome.org/show_bug.cgi?id=678816

14 years agoremoteSearch: Use GIcon instead of icon name
Florian Müllner [Fri, 22 Jun 2012 17:35:14 +0000 (19:35 +0200)]
remoteSearch: Use GIcon instead of icon name

Currently we pass an icon name for the 'icon' parameter of the
RemoteSearchProvider constructor. In hindsight, using a GIcon
instead will give us a bit more flexibility, so change it.

https://bugzilla.gnome.org/show_bug.cgi?id=678816

14 years agoSt: reference the StTheme from StThemeNode
Giovanni Campagna [Mon, 25 Jun 2012 12:08:56 +0000 (14:08 +0200)]
St: reference the StTheme from StThemeNode

This is a partial revert of 7eaf231e566e8a8470589e743bac10475c1ce987,
which caused segfaults. For some reason, StThemeNodes seem to survive
style changes.

14 years agoUpdate Punjabi Translation
A S Alam [Mon, 25 Jun 2012 01:26:00 +0000 (06:56 +0530)]
Update Punjabi Translation

14 years agotests: Run each test in a function
Jasper St. Pierre [Sun, 24 Jun 2012 19:11:41 +0000 (15:11 -0400)]
tests: Run each test in a function

As the global object of a context is rooted, if we want the GC to act
on these objects we need to take them out of the globals.

https://bugzilla.gnome.org/show_bug.cgi?id=678737

14 years agotests: Don't use the default stage
Jasper St. Pierre [Sun, 24 Jun 2012 19:02:46 +0000 (15:02 -0400)]
tests: Don't use the default stage

https://bugzilla.gnome.org/show_bug.cgi?id=678737

14 years agorun-js-test: GC twice after running a test
Jasper St. Pierre [Sun, 24 Jun 2012 06:25:38 +0000 (02:25 -0400)]
run-js-test: GC twice after running a test

When running with Valgrind, this helps us ensure that we're managing
memory correctly. We need to GC twice as finalizing an object in the
sweep can unroot objects which were already marked. Technically, it
could be that we'll need to GC more than twice, but GCing twice should
hopefully last us for now.

https://bugzilla.gnome.org/show_bug.cgi?id=678737

14 years agotest-theme: Clean up after ourselves
Jasper St. Pierre [Sun, 24 Jun 2012 20:03:18 +0000 (16:03 -0400)]
test-theme: Clean up after ourselves

https://bugzilla.gnome.org/show_bug.cgi?id=678737

14 years agotest-theme: Fix
Jasper St. Pierre [Sun, 24 Jun 2012 20:03:10 +0000 (16:03 -0400)]
test-theme: Fix

St requires GTK+ to be initted.

https://bugzilla.gnome.org/show_bug.cgi?id=678737

14 years agost-widget: Free the inline style
Jasper St. Pierre [Sun, 24 Jun 2012 19:27:44 +0000 (15:27 -0400)]
st-widget: Free the inline style

https://bugzilla.gnome.org/show_bug.cgi?id=678737

14 years agost-theme-node: Don't hold a ref to the theme context or the theme
Jasper St. Pierre [Sun, 24 Jun 2012 06:26:39 +0000 (02:26 -0400)]
st-theme-node: Don't hold a ref to the theme context or the theme

This would just be a circular reference, which we need to avoid.

https://bugzilla.gnome.org/show_bug.cgi?id=678737

14 years agost-widget: Fix st_widget_set_theme
Jasper St. Pierre [Sun, 24 Jun 2012 04:24:00 +0000 (00:24 -0400)]
st-widget: Fix st_widget_set_theme

https://bugzilla.gnome.org/show_bug.cgi?id=678737

14 years agost-widget: Chain up in the dispose handler for accessibility objects
Jasper St. Pierre [Sun, 24 Jun 2012 04:23:50 +0000 (00:23 -0400)]
st-widget: Chain up in the dispose handler for accessibility objects

https://bugzilla.gnome.org/show_bug.cgi?id=678737

14 years agoUpdated Galician translations
Fran Diéguez [Sun, 24 Jun 2012 21:34:42 +0000 (23:34 +0200)]
Updated Galician translations

14 years agost-widget: fix GList leak
Pavel Vasin [Mon, 18 Jun 2012 17:11:28 +0000 (21:11 +0400)]
st-widget: fix GList leak

clutter_actor_get_children returns a newly allocated GList and it was
not freed.

However, as there's no reason to copy the children list, switch to
iterator api.

https://bugzilla.gnome.org/show_bug.cgi?id=678406

14 years agopokit-agent: fix memory leak
Pavel Vasin [Mon, 18 Jun 2012 17:14:59 +0000 (21:14 +0400)]
pokit-agent: fix memory leak

https://bugzilla.gnome.org/show_bug.cgi?id=678406

14 years agoUpdated Greek translation
Tom Tryfonidis [Fri, 22 Jun 2012 22:30:41 +0000 (01:30 +0300)]
Updated Greek translation

14 years agoclock: Switch to using GnomeWallClock, delete clock GSettings controls
Colin Walters [Sun, 21 Aug 2011 07:31:16 +0000 (03:31 -0400)]
clock: Switch to using GnomeWallClock, delete clock GSettings controls

This avoids us having to poll once a second, among other things.  For
more information, see the linked bug chain.

See https://bugzilla.gnome.org/show_bug.cgi?id=657958 for the new
clock keys.

https://bugzilla.gnome.org/show_bug.cgi?id=657074

14 years agomount-operation: implement org.Gtk.MountOperationHandler
Cosimo Cecchi [Wed, 20 Jun 2012 21:23:34 +0000 (17:23 -0400)]
mount-operation: implement org.Gtk.MountOperationHandler

Use the ShellMountOperation dialogs we have to implement a DBus API
allowing other processes to display them.
Since GtkMountOperation now tries to call into our DBus implementation,
every application that uses a GtkMountOperation will gain integration
with our shell dialogs (but will still handle the actual communication
with GVfs).

https://bugzilla.gnome.org/show_bug.cgi?id=678516

14 years agouserMenu: Rename 'Hidden' to 'Invisible'
Florian Müllner [Fri, 22 Jun 2012 11:51:43 +0000 (13:51 +0200)]
userMenu: Rename 'Hidden' to 'Invisible'

Apparently only the Telepathy API calls this status 'Hidden',
Empathy and most network use 'Invisible' (also see
https://bugzilla.gnome.org/show_bug.cgi?id=603472).

https://bugzilla.gnome.org/show_bug.cgi?id=658955

14 years agoUpdated Greek translation
Tom Tryfonidis [Fri, 22 Jun 2012 10:43:03 +0000 (13:43 +0300)]
Updated Greek translation

14 years agoUpdated Slovenian translation
Matej Urbančič [Fri, 22 Jun 2012 07:36:52 +0000 (09:36 +0200)]
Updated Slovenian translation

14 years agoappDisplay: Fix recursive directory NoDisplay testing
Jasper St. Pierre [Tue, 19 Jun 2012 17:02:38 +0000 (13:02 -0400)]
appDisplay: Fix recursive directory NoDisplay testing

We were accidentally testing NoDisplay on the wrong directory.

https://bugzilla.gnome.org/show_bug.cgi?id=658176

14 years agoapp-system: Don't show items with NoDisplay parents in the search
Jasper St. Pierre [Tue, 19 Jun 2012 15:35:05 +0000 (11:35 -0400)]
app-system: Don't show items with NoDisplay parents in the search

Additionally, require gnome-menus 3.5.3, as we're using new API
introduced there.

https://bugzilla.gnome.org/show_bug.cgi?id=658176

14 years agoapp-system: Use g_slist_free_full
Jasper St. Pierre [Mon, 18 Jun 2012 10:22:29 +0000 (06:22 -0400)]
app-system: Use g_slist_free_full

https://bugzilla.gnome.org/show_bug.cgi?id=658176

14 years agoapp-system: Clean up imports
Jasper St. Pierre [Mon, 18 Jun 2012 09:55:08 +0000 (05:55 -0400)]
app-system: Clean up imports

https://bugzilla.gnome.org/show_bug.cgi?id=658176

14 years agoUtil: update trySpawn to new gjs GError mapping
Giovanni Campagna [Tue, 19 Jun 2012 21:32:45 +0000 (23:32 +0200)]
Util: update trySpawn to new gjs GError mapping

Error rewriting code used an old version of the gjs GError support,
and set a readonly .message property.

https://bugzilla.gnome.org/show_bug.cgi?id=678502

14 years agoUpdated Spanish translation
Daniel Mustieles [Thu, 21 Jun 2012 10:30:52 +0000 (12:30 +0200)]
Updated Spanish translation

14 years agomount-operation: fix indentation for some callbacks
Cosimo Cecchi [Wed, 20 Jun 2012 20:14:02 +0000 (16:14 -0400)]
mount-operation: fix indentation for some callbacks

Nothing to see here, move along.

https://bugzilla.gnome.org/show_bug.cgi?id=674962

14 years agomount-operation: don't use global.get_current_time()
Cosimo Cecchi [Wed, 20 Jun 2012 20:12:40 +0000 (16:12 -0400)]
mount-operation: don't use global.get_current_time()

If we don't specify it, it will be picked up by default.

https://bugzilla.gnome.org/show_bug.cgi?id=674962

14 years agoautorun: use GError.matches() to fix some FIXMEs
Cosimo Cecchi [Wed, 20 Jun 2012 20:35:29 +0000 (16:35 -0400)]
autorun: use GError.matches() to fix some FIXMEs

Discard FAILED_HANDLED errors, now that we can detect them from JS.

https://bugzilla.gnome.org/show_bug.cgi?id=674962

14 years agoautomount: re-use the same dialog when passphrase doesn't match
Cosimo Cecchi [Wed, 20 Jun 2012 00:22:26 +0000 (20:22 -0400)]
automount: re-use the same dialog when passphrase doesn't match

Wait until the completion of the mount operation before dismissing the
passphrase dialog, so in case it fails, we can re-use the same dialog
with an error message (like e.g. PolicyKit auth dialogs) instead of
showing a brand new one.

https://bugzilla.gnome.org/show_bug.cgi?id=674962

14 years agomount-operation: turn the passphrase prompt into a dialog
Cosimo Cecchi [Tue, 19 Jun 2012 22:12:11 +0000 (18:12 -0400)]
mount-operation: turn the passphrase prompt into a dialog

Instead of a notification. This also adds space for a checkbox allowing
to remember the passphrase.

https://bugzilla.gnome.org/show_bug.cgi?id=674962

14 years agoNetworkMenu: prefer wifi/3g over vpn in the panel
Cosimo Cecchi [Tue, 19 Jun 2012 17:50:37 +0000 (13:50 -0400)]
NetworkMenu: prefer wifi/3g over vpn in the panel

Wifi and mobile broadband have signal indicators and are thus
more useful than vpn icons in the panel. Therefore, in the case
we have both wifi/3g and VPN we prefer the former as the "primary
icon" and add a lock next to it.
Behavior when VPN is added to wired or other connections is still
preserved: the wired icon is replaced by vpn.

https://bugzilla.gnome.org/show_bug.cgi?id=672591

14 years agoNetworkMenu: sort wifi networks by strength
Giovanni Campagna [Tue, 29 May 2012 18:02:48 +0000 (20:02 +0200)]
NetworkMenu: sort wifi networks by strength

Sorting by strength is what the other OSes do by default, and it
provides a better UX (by offering your hotspot and router before
the one from your neighbor).

https://bugzilla.gnome.org/show_bug.cgi?id=658946

14 years agoautomount: don't allow autorun for things we mount at startup
Cosimo Cecchi [Tue, 19 Jun 2012 18:49:40 +0000 (14:49 -0400)]
automount: don't allow autorun for things we mount at startup

We don't want to potentially flood the user with notifications about
mounts when starting up the system.

https://bugzilla.gnome.org/show_bug.cgi?id=660595

14 years agoautorun: only obey allowAutorun flag for transient notifications
Cosimo Cecchi [Tue, 19 Jun 2012 19:06:44 +0000 (15:06 -0400)]
autorun: only obey allowAutorun flag for transient notifications

Only apply the allowAutorun flag for transient notifications, not for
mounts that end up in the resident notification well.

Also, stop looking at volume.can_automount() here, since we already
checked that previously in the mounter, and allowAutorun is enough.

https://bugzilla.gnome.org/show_bug.cgi?id=660595

14 years agoautorun: simplify code
Cosimo Cecchi [Tue, 19 Jun 2012 19:17:07 +0000 (15:17 -0400)]
autorun: simplify code

Split autorun conditions into separate logic blocks instead of a single
huge if.

https://bugzilla.gnome.org/show_bug.cgi?id=660595

14 years agoautorun: change logic for ignoring volumes
Cosimo Cecchi [Tue, 19 Jun 2012 19:08:45 +0000 (15:08 -0400)]
autorun: change logic for ignoring volumes

Previously, a volume was being ignored from autorun if one of these two
conditions were met:
- its mount root file had a native scheme and was mounted in a
  non-hidden location
- it had a volume that could have been automounted, and had a flag set
  by the shell to allow autorun

In order to effectively ignore volumes that we don't mount ourselves
from our notification system, we have to meet both conditions at the
same time instead.

https://bugzilla.gnome.org/show_bug.cgi?id=660595

14 years agomount-operation: close the password entry on operation abort
Cosimo Cecchi [Tue, 19 Jun 2012 20:41:39 +0000 (16:41 -0400)]
mount-operation: close the password entry on operation abort

If the device disappears in the middle of a mount operation, make sure
to dismiss the password prompt automatically.

https://bugzilla.gnome.org/show_bug.cgi?id=673787

14 years agomount-operation: fix exceptions when showing password entry
Cosimo Cecchi [Tue, 19 Jun 2012 20:31:24 +0000 (16:31 -0400)]
mount-operation: fix exceptions when showing password entry

This is a fallout from some changes in MessageTray.Source, which now
requires either defining the iconName/iconType properties on it, or
implementing createNotificationIcon, and we're not doing any of those.
Fix it by storing the gicon of the source object and using a helper
method to create the icon actor on demand, to avoid any case when the
same actor might be added twice to different containers.

https://bugzilla.gnome.org/show_bug.cgi?id=678428

14 years agobuild: Fix the case of building without folks
Rui Matos [Tue, 19 Jun 2012 21:06:40 +0000 (23:06 +0200)]
build: Fix the case of building without folks

14 years agobuild: Make folks optional
Colin Walters [Tue, 19 Jun 2012 19:15:02 +0000 (15:15 -0400)]
build: Make folks optional

The dependency chain spirals out from folks->zeitgeist->xapian...and
I'm really not interested in pulling in all of that into the core
shell.

There is work on splitting out contact search into gnome-contacts; I'd
add a bug link but Bugzilla is down.

14 years agoDisable unredirection when a modal operation is active
Giovanni Campagna [Tue, 19 Jun 2012 17:48:02 +0000 (19:48 +0200)]
Disable unredirection when a modal operation is active

When the shell takes control of the screen (for example to show
a modal dialog or to lock the screen), it must reestablish itself
on top of the stack, and in particular restore any unredirected
window so that it is composited below the Shell UI.

Reviewed-By: drago01 in IRC.
14 years agoworkspace: Minor cleanup
Florian Müllner [Fri, 15 Jun 2012 13:52:47 +0000 (15:52 +0200)]
workspace: Minor cleanup

_hideAllOverlays() has only been used in a single place for quite
some time now, so move its code into the caller and save a loop.

https://bugzilla.gnome.org/show_bug.cgi?id=678416

14 years agoworkspace: Remove unused method
Florian Müllner [Fri, 15 Jun 2012 13:49:24 +0000 (15:49 +0200)]
workspace: Remove unused method

This one hasn't been used for quite a while now ...

https://bugzilla.gnome.org/show_bug.cgi?id=678416

14 years agoEnable the Screen Reader menu item
Matthias Clasen [Fri, 15 Jun 2012 21:54:04 +0000 (17:54 -0400)]
Enable the Screen Reader menu item

https://bugzilla.gnome.org/show_bug.cgi?id=663256

14 years agoshell-app: Update app menu if necessary
Florian Müllner [Thu, 17 May 2012 16:18:53 +0000 (18:18 +0200)]
shell-app: Update app menu if necessary

Currently we assume that GTK_UNIQUE_BUS_NAME is shared between all
windows of an application. This assumption does not hold true for
applications that specify G_APPLICATION_NON_UNIQUE, so make sure
to update the menu as necessary.

https://bugzilla.gnome.org/show_bug.cgi?id=676238

14 years agoDepend on gjs 1.33.2
Guillaume Desmottes [Tue, 19 Jun 2012 12:17:23 +0000 (14:17 +0200)]
Depend on gjs 1.33.2

Shell uses the 'format' module which has been introduced in gjs 1.33.2.

https://bugzilla.gnome.org/show_bug.cgi?id=678396

14 years agotelepathyClient: ignore invalidated channels
Guillaume Desmottes [Tue, 5 Jun 2012 10:39:30 +0000 (12:39 +0200)]
telepathyClient: ignore invalidated channels

There is a race if a channel is invalidated during its preparation: the
'invalidated' signal is already emitted so the Shell will never notice.
We fix this by simply checking if the channel is already invalidated when
receiving it from telepathy-glib.

In the approving case, we reject the full ChannelDispatchOperation as we only
support approving one channel at the time.

https://bugzilla.gnome.org/show_bug.cgi?id=677457

14 years agotelepathyClient: decline dispatch op when approving unsupported channel type
Guillaume Desmottes [Tue, 5 Jun 2012 10:37:06 +0000 (12:37 +0200)]
telepathyClient: decline dispatch op when approving unsupported channel type

It shouldn't happen in theory but best to be safe than sorry.

https://bugzilla.gnome.org/show_bug.cgi?id=677457

14 years agost-texture-cache: fix GtkIconInfo leak
Pavel Vasin [Thu, 14 Jun 2012 08:21:25 +0000 (12:21 +0400)]
st-texture-cache: fix GtkIconInfo leak

https://bugzilla.gnome.org/show_bug.cgi?id=678079

14 years agoShellContactSystem: fix GSList of utf8 leak
Pavel Vasin [Wed, 13 Jun 2012 16:51:57 +0000 (20:51 +0400)]
ShellContactSystem: fix GSList of utf8 leak

https://bugzilla.gnome.org/show_bug.cgi?id=678079

14 years agoShellContactSystem: fix GSList leak
Pavel Vasin [Wed, 13 Jun 2012 16:48:06 +0000 (20:48 +0400)]
ShellContactSystem: fix GSList leak

https://bugzilla.gnome.org/show_bug.cgi?id=678079

14 years agoshell-util: fix GFile leak
Pavel Vasin [Wed, 13 Jun 2012 12:49:20 +0000 (16:49 +0400)]
shell-util: fix GFile leak

https://bugzilla.gnome.org/show_bug.cgi?id=678079

14 years agoShellContactSystem: fix GeeMapIterator leak
Pavel Vasin [Wed, 13 Jun 2012 10:48:23 +0000 (14:48 +0400)]
ShellContactSystem: fix GeeMapIterator leak

https://bugzilla.gnome.org/show_bug.cgi?id=678079

14 years agoAlways enable a11y
Bastien Nocera [Thu, 14 Jun 2012 11:57:09 +0000 (12:57 +0100)]
Always enable a11y

https://bugzilla.gnome.org/show_bug.cgi?id=678095

14 years agomain: NO_GAIL envvar is a noop
Bastien Nocera [Thu, 14 Jun 2012 11:50:55 +0000 (12:50 +0100)]
main: NO_GAIL envvar is a noop

It's not used by GTK+ versions we require

https://bugzilla.gnome.org/show_bug.cgi?id=678096

14 years agoUpdated Arabic translation
Khaled Hosny [Wed, 13 Jun 2012 18:40:27 +0000 (20:40 +0200)]
Updated Arabic translation

14 years agol10n: Updated Italian translation
Luca Ferretti [Wed, 13 Jun 2012 17:37:39 +0000 (19:37 +0200)]
l10n: Updated Italian translation